body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 修复Material-UI组件样式 */
.MuiContainer-root {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 代码编辑器样式 */
.code-editor {
  font-family: 'Fira Code', monospace;
  height: 400px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* 挑战页面样式 */
.challenge-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 150px);
}

/* 响应式布局 */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
} 